{% extends "datasources_base.html" %}

{% block content %}

<div class="row">
	<div class="small-12 columns">

<a class="button small" href="{% url 'files:index' %}">Files (back to list of all files)</a>


	</div>
</div>

<div class="row">
	<div class="small-12 columns">

Title or ID:
<h1>{{ files.title|default:files.id }}</h1>

	{% if files.uri %}

	URI: {{ files.uri }}

	{% endif %}


	{% if files.description %}

	{{ files.description }}

	{% endif %}

	</div>
</div>


<div class="row">
	<div class="small-12 columns">

<h3>Actions</h3>

<a class="button" href="{% url 'files:crawl' files.id %}">Index file or directory</a></li>

<a class="button" href="{% url 'files:update' files.id %}">Edit settings</a>


	</div>
</div>

{% endblock content %}